Specify scale factors along the _x, _y, and _z axes, respectively.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
ffffggggllllSSSSccccaaaalllleeee produces a nonuniform scaling along the _x, _y, and _z axes. The
three parameters indicate the desired scale factor along each of the
three axes.
The current matrix (see ffffggggllllMMMMaaaattttrrrriiiixxxxMMMMooooddddeeee) is multiplied by this scale
matrix, and the product replaces the current matrix as if ffffggggllllSSSSccccaaaalllleeee were
called with the following matrix as its argument:
( )
x 0 0 0
| |
| 0 y 0 0 |
| |
0 0 z 0
| |
( 0 0 0 1 )
If the matrix mode is either GGGGLLLL____MMMMOOOODDDDEEEELLLLVVVVIIIIEEEEWWWW or GGGGLLLL____PPPPRRRROOOOJJJJEEEECCCCTTTTIIIIOOOONNNN, all objects
drawn after ffffggggllllSSSSccccaaaalllleeee is called are scaled.
Use ffffggggllllPPPPuuuusssshhhhMMMMaaaattttrrrriiiixxxx and ffffggggllllPPPPooooppppMMMMaaaattttrrrriiiixxxx to save and restore the unscaled
coordinate system.
NNNNOOOOTTTTEEEESSSS
If scale factors other than 1 are applied to the modelview matrix and
lighting is enabled, lighting often appears wrong. In that case, enable
automatic normalization of normals by calling ffffggggllllEEEEnnnnaaaabbbblllleeee with the argument
GGGGLLLL____NNNNOOOORRRRMMMMAAAALLLLIIIIZZZZEEEE.
EEEERRRRRRRROOOORRRRSSSS
GGGGLLLL____IIIINNNNVVVVAAAALLLLIIIIDDDD____OOOOPPPPEEEERRRRAAAATTTTIIIIOOOONNNN is generated if ffffggggllllSSSSccccaaaalllleeee is executed between the
execution of ffffggggllllBBBBeeeeggggiiiinnnn and the corresponding execution of ffffggggllllEEEEnnnndddd.